import { get, post } from '../fetch'
const isPro = process.env.NODE_ENV === 'production' // 生产环境

// >>> 用户登录
export const Login = (params) => post('loginPC', params)
// export const getUserData = (params) => post('///getUserData', params)
// >>> 获取用户信息
export const getUserData = (params) => get('getUserInfo', params)
// 获取菜单列表
export const getMenuListByUser = (params) => post('/sysMenus/getMenuListByUser', params)
// 【角色】-- 获取角色绑定的菜单code编码
export const getMenuCodesByRoleId = (params) => post('/sysRoles/getMenuCodesByRoleId', params)
